package com.syh.logservice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.syh.bscommon.pojo.Log;
import com.syh.logservice.mapper.LogMapper;
import com.syh.logservice.service.ILogService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author syh
 * @since 2024-07-06
 */
@Service
@RequiredArgsConstructor
public class LogServiceImpl extends ServiceImpl<LogMapper, Log> implements ILogService {
    private final LogMapper logMapper;
    @Override
    public List<Log> getSome(int userId) {
        List<Log> list = logMapper.getSome(userId);
        return list;
    }
}
